* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 14px;
  // text-decoration: none;
  word-break: break-word;
  font-family: "Microsoft YaHei";
}

a {
  text-decoration: none;
}

.ft-2 {
  font-size: 20px;
}
.ft-3 {
  font-size: 30px;
}
.el-dialog__body {
  padding-top: 10px;
}

body {
  color: #252628;
  min-width: 1360px;
}

.ml-c {
  margin-left: 45%;
}
.ht-4 {
  height: 40px;
}
:root {
  --mainColor: #ca2a02; // 主色调
  --titleColor: #252628; // 标题文字色

  // 覆盖element primary 按钮颜色
  --el-color-primary: #ca2a02;
  --el-color-primary-light-3: #e82e05;
  --el-color-primary-dark-2: #ca2a02;
  --el-color-primary-light-5: #eaebec;
}

#nprogress .bar {
  background: var(--mainColor) !important;
}

ul,
li {
  list-style-type: none;
}
input:focus-visible {
  outline: none;
  border: 0;
}

.fl {
  float: left;
}
.fr {
  float: right;
}
.clearfix {
  clear: both;
}
.clearfix::after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}

// 滚动条
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background-color: #c1c1c1;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background: #c1c1c1;
}

.noscrollbar {
  &::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
}

// flex布局
.flexcc {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.flexcc-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.flexcs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.flexcs-col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  flex-wrap: wrap;
}
.flexsc {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}
.flexsc-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
}
.flexss {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
}
.flexec {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}
.flexec-col {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: column;
  flex-wrap: wrap;
}
.flexsb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.flexsb-col {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
}

.nowrap {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gap-1 {
  gap: 10px;
}
.gap-2 {
  gap: 20px;
}
.gap-3 {
  gap: 30px;
}

.ht-100 {
  height: 100%;
}
.ht-90 {
  height: 90%;
}
.ht-80 {
  height: 80%;
}
.ht-70 {
  height: 70%;
}

.mt-0 {
  margin-top: 0px !important;
}
.mt-05 {
  margin-top: 5px;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px !important;
}
.mt-3 {
  margin-top: 30px;
}
.mt-4 {
  margin-top: 40px;
}
.mt-5 {
  margin-top: 50px;
}
.mt-6 {
  margin-top: 60px;
}
.mt-7 {
  margin-top: 70px;
}
.mt-8 {
  margin-top: 80px;
}
.mt-9 {
  margin-top: 90px;
}
.mt-10 {
  margin-top: 100px;
}

.ml-0 {
  margin-left: 0px !important;
}
.ml-1 {
  margin-left: 10px;
}
.ml-2 {
  margin-left: 20px;
}
.ml-3 {
  margin-left: 30px;
}
.ml-4 {
  margin-left: 40px;
}
.ml-5 {
  margin-left: 50px;
}
.ml-6 {
  margin-left: 60px;
}

.mr-0 {
  margin-right: 0px !important;
}
.mr-1 {
  margin-right: 10px;
}
.mr-2 {
  margin-right: 20px;
}
.mr-3 {
  margin-right: 30px;
}
.mr-4 {
  margin-right: 40px;
}
.mr-5 {
  margin-right: 50px;
}
.mr-6 {
  margin-right: 60px;
}

.mb-0 {
  margin-bottom: 0px !important;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}
.mb-6 {
  margin-bottom: 60px;
}

.mr-1 {
  margin-right: 10px;
}
.mr-2 {
  margin-right: 20px;
}
.mr-3 {
  margin-right: 30px;
}
.mr-4 {
  margin-right: 40px;
}
.mr-5 {
  margin-right: 50px;
}
.mr-6 {
  margin-right: 60px;
}
.mr-7 {
  margin-right: 70px;
}
.mr-8 {
  margin-right: 80px;
}

.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 30px;
}
.mb-4 {
  margin-bottom: 40px;
}
.mb-5 {
  margin-bottom: 50px;
}
.mb-6 {
  margin-bottom: 60px;
}

.wp-100 {
  width: 100% !important;
}
.wp-90 {
  width: 90%;
}
.wp-80 {
  width: 80%;
}
.wp-70 {
  width: 70%;
}
.wp-60 {
  width: 60%;
}
.wp-50 {
  width: 50%;
}
.wp-40 {
  width: 40%;
}
.wp-30 {
  width: 30%;
}
.wp-20 {
  width: 20%;
}
.wp-10 {
  width: 10%;
}

.mytable {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  th {
    background: #f5f5f5;
  }
  td,
  th {
    border: 1px solid #ddd;
    padding: 10px 20px;
  }
}

.line-1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.line-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.line-4 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.line-5 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.g-con {
  width: 1260px;
  margin: 0 auto;
}
.g-more {
  font-weight: bold;
  color: #252628;
  text-transform: uppercase;
  background: url('@/assets/img/icon_jiantou.png') no-repeat center right / 30px;
  padding-right: 40px;
  cursor: pointer;
}

.g-more-2 {
  width: 50px;
  height: 50px;
  background: url('@/assets/img/icon_xiangqing.png') no-repeat center / 50px 50px;
  cursor: pointer;
}

.g-ad {
  // background: #212121;
  height: 110px;
  width: 100%;
  a {
    width: 100%;
    height: 100%;
    display: block;
  }
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
}

.g-title {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 2px solid #212121;
  .text {
    text-transform: uppercase;
    color: var(--mainColor);
    font-size: 20px;
    font-weight: bold;
  }
}

.el-pager li {
  background: none !important;
}
.el-pagination button {
  background: #252628 !important;
  color: #fff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
}
.el-pagination button:disabled {
  background: #eaebec !important;
}

.el-dialog {
  .el-dialog__header {
    margin-right: 0;
  }
}
.dialog-footer {
  .el-button {
    width: 200px;
    height: 40px;
  }
}
.el-card {
  border: 0 !important;
  &.is-always-shadow {
    box-shadow: none !important;
  }
}

.my-header {
  border-bottom: 2px solid #212121;
  padding-bottom: 18px;
  display: grid;
  grid-template-columns: auto 30px;
  gap: 50px;
  h4 {
    text-transform: uppercase;
    color: var(--mainColor);
    word-break: break-all;
    display: flex;
    align-items: center;
  }
  .close {
    cursor: pointer;
  }
}

.g-con-m {
  padding: 0 15px;
}

.g-title-m {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 15px;
  border-bottom: 2px solid #212121;
  .text {
    text-transform: uppercase;
    color: var(--mainColor);
    font-size: 15px;
    font-weight: bold;
  }
}

.g-order-list {
  .li {
    background: #f7f9fb;
    position: relative;
    padding: 0 0 30px;
    .attr {
      display: grid;
      grid-template-columns: 495px auto;
      position: relative;
      z-index: 3;
      .item {
        padding: 10px 30px;
        span {
          font-size: 12px;
          vertical-align: middle;
          &:first-of-type {
            color: #9d9fa5;
            margin-right: 5px;
            display: inline-block;
            min-width: 100px;
          }
        }
        span.blue {
          color: #3376e5;
        }
        span.yellow {
          color: #e5a833;
        }
        span.red {
          color: #ca2a02;
        }

        &:nth-of-type(1),
        &:nth-of-type(2) {
          background-color: #f0f3f8;
          padding: 15px 30px;
          margin-bottom: 10px;
          span {
            font-size: 14px;
            color: #252628;
          }
        }
      }
    }
    .bottom {
      padding: 0px 30px;
      .el-button:nth-child(4){
        margin-left: 50px;
      }
    }
    .checked, .record {
      position: absolute;
      top: 10px;
      right: 20px;
      z-index: 5;
    }
  }
}
